# name : gsDesign testBinomial 2arm
# key : gsDesign.testBinomial.2arm
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# contributor: Shuguang Sun
# --
testBinomial(
  # Miettinen and Nurminen (1980) Z- or Chi-square-statistic
  x1 = ${1:1},
  x2 = ${2:1},
  n1 = ${3:10},
  n2 = ${4:10},
  delta0 = ${5:0},
  chisq = ${6:0},  # chi-square or Z
  adj = ${7:0},    # if 1, continuous adj for var
  scale = ${8:$$(yas-choose-value '("Difference" "RR" "OR"))},
  tol = 1e-11
)
